<template>
  <div class="child">
    男: <input type="radio" name="sex" :checked="gender === '男'" @handlerGerder="('男')" />
    女: <input type="radio" name="sex" :checked="gender === '女'" @handlerGerder="('女')" />
  </div>
</template>

<script>
export default {
  name: "ModelOp",
  props: ["gender",'updatadGender'],
  handlerGerder(value){
    this.updatadGender(value)
  }
};
</script>

<style scoped>
</style>